package com.yumeng.framework.auth.exception;

import com.yumeng.common.api.ApiCode;
import com.yumeng.common.exception.BaseAuthException;

/**
 * token认证异常
 *
 * @author wxd
 * @date 2021/8/22 23:02
 */
public class TokenAuthException extends BaseAuthException {


    public TokenAuthException(Throwable e) {
        super(e);
    }

    public TokenAuthException(String message, Object... args) {
        super(message, args);
    }

    public TokenAuthException(Throwable e, String message, Object... args) {
        super(e, message, args);
    }

    @Override
    protected ApiCode defaultApiCode(){
        return ApiCode.TOKEN_NORMAL_ERROR;
    }

}
